tools: Introduce $(xenlibs-ldflags, ) macro
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 13 Oct 2022 13:04:59 +0000 (14:04 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 14 Oct 2022 15:16:54 +0000 (16:16 +0100)
commitfcdb9cdb953d6c1f893286c3619e74f72e1327fc
treee24a6e83761c44b24845d84679853c8ce84827c0
parenta2e8156ba49d699db3d2e36df21c8f57c832de77
tools: Introduce $(xenlibs-ldflags, ) macro

This avoid the need to open-coding the list of flags needed to link
with an in-tree Xen library when using -lxen*.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Henry Wang <Henry.Wang@arm.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
tools/Rules.mk
tools/golang/xenlight/Makefile